package com.seeyon.apps.reimburseplugin.dao;

import java.util.List;

import com.seeyon.apps.reimburseplugin.po.Reimbursement;
import com.seeyon.apps.reimburseplugin.po.TemporaryPO;
import com.seeyon.ctp.common.po.affair.CtpAffair;
import com.seeyon.ctp.common.po.ctpenumnew.CtpEnumItem;
import com.seeyon.ctp.common.po.ctpenumnew.CtpEnumItemPO;
import com.seeyon.ctp.common.po.filemanager.Attachment;
import com.seeyon.ctp.common.po.template.CtpTemplate;
import com.seeyon.ctp.organization.po.OrgMember;
import com.seeyon.ctp.organization.po.OrgPost;
import com.seeyon.ctp.organization.po.OrgPrincipal;
import com.seeyon.ctp.organization.po.OrgUnit;

public interface ReimburseDao {
	public TemporaryPO findReimburseById(Long id);
	public boolean saveReimbursement(Reimbursement reimbursement);
	public OrgMember findMemberById(Long id);
	public List<OrgUnit> findOrgUnitByAccountId(Long accountId);
	public OrgPost findPostById(Long id);
	public CtpEnumItemPO findEnumById(Long id);
	public OrgPrincipal findOrgPrincipalByMemId(String memberId);
	
	public CtpAffair findAffairByObjId(String objId);
	//查询模板表
	public CtpTemplate findTemplate(String templateId);
	//根据协同id查询是否有附件信息
	public List<Attachment> attachmentList(String attReferenceId);
}
